package com.example.furniture.service;

import com.example.furniture.dto.AiChatRequest;
import com.example.furniture.dto.AiChatResponse;

/**
 * AI对话服务接口
 * 
 * @author 家具商城系统
 * @version 1.0
 * @since 2024-01-01
 */
public interface AiChatService {

    /**
     * 与AI进行对话
     * 
     * @param request 对话请求
     * @return AI回复
     * @throws Exception 对话异常
     */
    AiChatResponse chat(AiChatRequest request) throws Exception;
}